package cn.wen.dao;import cn.wen.dto.CommentParam;import cn.wen.entity.Comment;import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import org.springframework.stereotype.Component;import java.util.List;@Mapper@Componentpublic interface CommentDao {    //一级评论    List<CommentParam> commentList(@Param("keyword") String keyword);    //一级评论    List<CommentParam> commentByIdList(@Param("keyword") String keyword,@Param("commentId")Long commentId);    //列出一级评论下子评论一级子评论的子评论    List<CommentParam> listTreeComment(@Param("id") Long id,@Param("keyword") String keyword);    boolean updateComment(@Param("comment") Comment comment);    /**     * 父评论删除，子评论也的删除     */    boolean deleteSonComment(@Param("parentId") Long parentId);}